<?php
namespace app\validate\post;

use think\Validate;

class GetValidate extends Validate
{
    protected $rule =   [
        'pid'       => 'require|integer',
    ];
    
    protected $message  =   [
        'pid' => 'PID 错误'
    ];
    
    protected $scene = [
        "info"   => ['pid'],
    ];
}